package org.bee.controller;

import org.bee.secuirty.annotation.TokenIgnore;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 健康检查
 */
@RestController
@RequestMapping("/status")
public class HealthController {

    @TokenIgnore
    @GetMapping("health")
    public String health() {
        return "ok";
    }
}
